<template>
	<view class="rank-container">
		<select-box style="margin-left: 10px;" :selected="cpt.show == 1" @click="showClick">显示</select-box>
	</view>
</template>

<script>
	
	import selectBox from '@/components/select-box/select-box'
	import cBtn from '@/components/c-btn/c-btn.vue'

	export default {
		
		components: {
			selectBox,
			cBtn
		},
		
		props: {
			cpt: {
				type: Object,
				default: null
			}
		},
		
		data() {
			return {

			}
		},
	  
		watch: {
			cpt(newVal) {
				this.configPlayers()
			}
		},
	  
		created() {
			this.configPlayers()
		},
	  
		methods: {
	  
			configPlayers() {

			},
			
			showClick() {
				this.$emit('componentShowClick')
			},
		}
	}
</script>

<style scoped>
	
	.rank-container {
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	

</style>